package com.imc.beans;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Importemp entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "importemp", catalog = "imcdbserver")
public class Importemp implements java.io.Serializable {

	// Fields

	private ImportempId id;

	// Constructors

	/** default constructor */
	public Importemp() {
	}

	/** full constructor */
	public Importemp(ImportempId id) {
		this.id = id;
	}

	// Property accessors
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "stuid", column = @Column(name = "stuid", length = 20)),
			@AttributeOverride(name = "stuname", column = @Column(name = "stuname", length = 20)),
			@AttributeOverride(name = "stusex", column = @Column(name = "stusex", length = 5)),
			@AttributeOverride(name = "grade", column = @Column(name = "grade", length = 30)),
			@AttributeOverride(name = "class_", column = @Column(name = "class", length = 30)),
			@AttributeOverride(name = "stutel", column = @Column(name = "stutel", length = 20)),
			@AttributeOverride(name = "stuMobile", column = @Column(name = "stuMobile", length = 20)),
			@AttributeOverride(name = "stuemail", column = @Column(name = "stuemail", length = 30)),
			@AttributeOverride(name = "fatherPhone", column = @Column(name = "FatherPhone", length = 20)),
			@AttributeOverride(name = "motherPhone", column = @Column(name = "MotherPhone", length = 20)),
			@AttributeOverride(name = "teachersid", column = @Column(name = "teachersid", length = 20)),
			@AttributeOverride(name = "teachersname", column = @Column(name = "Teachersname", length = 20)),
			@AttributeOverride(name = "teachersdept", column = @Column(name = "Teachersdept", length = 30)),
			@AttributeOverride(name = "teacherssex", column = @Column(name = "Teacherssex", length = 5)),
			@AttributeOverride(name = "teachersmobile", column = @Column(name = "Teachersmobile", length = 20)),
			@AttributeOverride(name = "duty", column = @Column(name = "duty", length = 30)),
			@AttributeOverride(name = "passwd", column = @Column(name = "passwd", length = 20)),
			@AttributeOverride(name = "xwtZhId", column = @Column(name = "xwt_zh_id", length = 20)),
			@AttributeOverride(name = "xwtBjId", column = @Column(name = "xwt_bj_id", length = 20)) })
	public ImportempId getId() {
		return this.id;
	}

	public void setId(ImportempId id) {
		this.id = id;
	}

}